public class TemperatureBxArea extends SensorBxArea
| Modifier and Type | Class and Description |
|---|---|
static class |
TemperatureBxArea.DisplayUnitType
温度讯息显示格式。
|
SensorBxArea.AlarmType, SensorBxArea.PolarType| Modifier and Type | Field and Description |
|---|---|
static byte |
SENSOR_DS18B20 |
static byte |
SENSOR_SHT1_SERIES |
NUMBER_NOLIMIT| Constructor and Description |
|---|
TemperatureBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile) |
| Modifier and Type | Method and Description |
|---|---|
TemperatureBxArea.DisplayUnitType |
getDisplayUnitType()
取得显示格式。
|
void |
setDisplayUnitType(TemperatureBxArea.DisplayUnitType unitType)
设定显示格式。
|
void |
setSensorType(byte sensorType)
设定传感器类型。
|
addThreshold, clearThresholds, generate, getCorrection, getCorrectionPolar, getNumberFloat, getNumberInt, getStaticText, getTransparency, isBackgroundFlag, isFractionalPart, isSensorUnitFlag, maskByBackground, overlayWithBackground, setBackgroundFlag, setCorrection, setCorrectionPolar, setFractionalPart, setNumberFloat, setNumberInt, setSensorUnitFlag, setStaticText, setTransparency, toStringgetFont, getFrameMoveStep, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, preview, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, validatepublic static byte SENSOR_DS18B20
public static byte SENSOR_SHT1_SERIES
public TemperatureBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
public TemperatureBxArea.DisplayUnitType getDisplayUnitType()
public void setDisplayUnitType(TemperatureBxArea.DisplayUnitType unitType)
unitType - 显示格式。public void setSensorType(byte sensorType)
sensorType - 传感器类型。